#!/usr/bin/env python
# -*- coding: utf-8 -*-

from cherrypy import config, request
from webpyte.gensher import gensher, page


class RootController(object):
    @page("root.html")
    def index(self):
        return dict(pagetitle="Your Webpyte app works.")
    
    def err(self):
        raise RuntimeError, "How does an error appear on your app?"
